package cn.hl.hm.service;

import com.vizhuo.client.business.smscode.reply.PostSMSCodeReply;
import com.vizhuo.client.business.smscode.request.PostSMSCodeRequest;
import com.vizhuo.client.business.smscode.request.PostSMSMessageRequest;
import com.vizhuo.smscode.model.SMSCode;

/**
 * 
 * @author xujj
 * @version 1.0
 */
public interface SMSCodeIService {
    // 填入验证码后与数据库进行对比(查出验证码)
    public SMSCode findCode(SMSCode sMSCode);

    // 发送验证码给手机接口
    public PostSMSCodeReply addSMSCode(PostSMSCodeRequest request) throws Exception;

    // 发送推荐人短信接口,推荐下载app
    public PostSMSCodeReply postSMSMessage(PostSMSMessageRequest request) throws Exception;

}
